package com.tnr.scgcxx.service.process.impl;

import com.tnr.scgcxx.dao.process.DyeDao;
import com.tnr.scgcxx.dao.process.PrintDao;
import com.tnr.scgcxx.model.bus.Process;
import com.tnr.scgcxx.service.process.DyeService;
import com.tnr.scgcxx.service.process.PrintService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrintServiceImpl implements PrintService {

    @Autowired
    private PrintDao printDao;

    @Override
    public List<Process> findPrints(String process_status) {
        return printDao.findPrints(process_status);
    }

    @Override
    public int updatePrint(Process process) {
        return printDao.updatePrint(process);
    }
}
